package com.chen.service;

import com.chen.entity.User;

import java.util.List;

public interface UserService {
    List<User> selectAll();
    Integer insertUser(User user);

    Integer updateById(User user);
    Integer deleteById(Long Id);

    List<User> selectByName(String name);

    User login(User user);
}
